import axios from "../../utils/axios";

export function getCompanyList(query) {
    return axios({
        url: "/goldendays-promote/cooperativeBrand/getCompanyListByPid",
        method: "get",
        params: query
    });
}
export function getCompanyPosition(query) {
    return axios({
        url: "/goldendays-promote/cooperativeBrand/getCompanyPosition",
        method: "get",
        params: query
    });
}
export function getEntityInfo(query) {
    return axios({
        url: "/goldendays-promote/cooperativeBrand/getEntityInfo",
        method: "get",
        params: query
    });
}
export function userDetails() {
    return axios({
        url: "/goldendays-user/mbUserManager/userDetails",
        method: "post",
    });
}

export function getSubor(query) {
    return axios({
        url: "/goldendays-user/merchantUser/getSubordinateUser",
        method: "get",
        params: query
    });
}